例文Set up a binary array of where the contour colour changes.Then get the average with doing the same in the columns then finally do a few sweeps of averaging the four closest points with a point except where the original binary array is set.